﻿using System.ComponentModel.DataAnnotations.Schema;

namespace ZhiJiao.Models.Entities
{
    [Table("MemberEvaluations")]
    public class MemberEvaluation : BaseEntity
    {
        /// <summary>
        /// 所属测评类型
        /// </summary>
        public Evaluation Evaluation { get; set; }

        /// <summary>
        /// 学生
        /// </summary>
        public Student Student { get; set; }

        /// <summary>
        /// 学生ID
        /// </summary>
        public long StudentId { get; set; }

        /// <summary>
        /// 所属会员
        /// </summary>
        public Member Member { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public bool IsCompleted { get; set; }

        /// <summary>
        /// 做到哪一题
        /// </summary>
        public Question CurrentQuestion { get; set; }



        /// <summary>
        /// 模块结果列表
        /// </summary>
        public List<MemberPartResult> PartResults { get; set; }
    }
}
